package com.chushouya.manager.dto.admin.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("菜单状态切换")
@Data
public class MenuStatusDTO {

    @ApiModelProperty("菜单ID")
    @NotNull(message = "菜单ID不能为空")
    private Long menuId;

    @ApiModelProperty("菜单状态（1正常 0停用）")
    @NotNull(message = "菜单状态不能为空")
    private Integer status;

}
